﻿using System;
using System.Linq;
using System.Xml.Linq;
using System.Collections.Generic;
using System.Collections;

namespace CodeCounsel.SharePoint.RibbonDesigner.Model
{
    [XName("Scaling", Namespaces.CommandUIText)]
    public class Scaling
        : CollectionDomainElement<GroupSize>
    {
        public IEnumerable<Scale> Scales
        {
            get { return Children.OfType<Scale>(); }
        }

        public Scaling(XElement dataModel, DomainModelSource source)
            : base(dataModel, source)
        {
        }

        public Scaling()
        {
        }
    }
}